Optimal. Leaf size=414 \[ -\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} \sqrt{b} f}+\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}+1\right )}{4 \sqrt{2} \sqrt{b} f}+\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} \sqrt{b} f}-\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} \sqrt{b} f}-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.348411, antiderivative size = 414, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 9, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.36, Rules used = {2583, 2585, 2574, 297, 1162, 617, 204, 1165, 628} \[ -\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} \sqrt{b} f}+\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \tan ^{-1}\left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}+1\right )}{4 \sqrt{2} \sqrt{b} f}+\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} \sqrt{b} f}-\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)} \log \left (\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)+\sqrt{a}\right )}{8 \sqrt{2} \sqrt{b} f}-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2583
Rule 2585
Rule 2574
Rule 297
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \sqrt{b \sec (e+f x)} (a \sin (e+f x))^{5/2} \, dx &=-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}+\frac{1}{4} \left (3 a^2\right ) \int \sqrt{b \sec (e+f x)} \sqrt{a \sin (e+f x)} \, dx\\ &=-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}+\frac{1}{4} \left (3 a^2 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \int \frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}} \, dx\\ &=-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}+\frac{\left (3 a^3 b \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{2 f}\\ &=-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}-\frac{\left (3 a^3 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{a-b x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{4 f}+\frac{\left (3 a^3 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{a+b x^2}{a^2+b^2 x^4} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{4 f}\\ &=-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}+\frac{\left (3 a^3 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}-\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}+x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 b f}+\frac{\left (3 a^3 \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{\frac{a}{b}+\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}+x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 b f}+\frac{\left (3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{a}}{\sqrt{b}}+2 x}{-\frac{a}{b}-\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}-x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 \sqrt{2} \sqrt{b} f}+\frac{\left (3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{\frac{\sqrt{2} \sqrt{a}}{\sqrt{b}}-2 x}{-\frac{a}{b}+\frac{\sqrt{2} \sqrt{a} x}{\sqrt{b}}-x^2} \, dx,x,\frac{\sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}\right )}{8 \sqrt{2} \sqrt{b} f}\\ &=\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} \sqrt{b} f}-\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} \sqrt{b} f}-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}+\frac{\left (3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} \sqrt{b} f}-\frac{\left (3 a^{5/2} \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right )}{4 \sqrt{2} \sqrt{b} f}\\ &=-\frac{3 a^{5/2} \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right ) \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}{4 \sqrt{2} \sqrt{b} f}+\frac{3 a^{5/2} \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{a} \sqrt{b \cos (e+f x)}}\right ) \sqrt{b \cos (e+f x)} \sqrt{b \sec (e+f x)}}{4 \sqrt{2} \sqrt{b} f}+\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}-\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} \sqrt{b} f}-\frac{3 a^{5/2} \sqrt{b \cos (e+f x)} \log \left (\sqrt{a}+\frac{\sqrt{2} \sqrt{b} \sqrt{a \sin (e+f x)}}{\sqrt{b \cos (e+f x)}}+\sqrt{a} \tan (e+f x)\right ) \sqrt{b \sec (e+f x)}}{8 \sqrt{2} \sqrt{b} f}-\frac{a b (a \sin (e+f x))^{3/2}}{2 f \sqrt{b \sec (e+f x)}}\\ \end{align*}
Mathematica [C] time = 0.251696, size = 65, normalized size = 0.16 \[ -\frac{a (a \sin (e+f x))^{3/2} (b \sec (e+f x))^{3/2} \left (-2 \, _2F_1\left (\frac{3}{4},1;\frac{7}{4};-\tan ^2(e+f x)\right )+\cos (2 (e+f x))+1\right )}{4 b f} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.107, size = 512, normalized size = 1.2 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{b \sec \left (f x + e\right )} \left (a \sin \left (f x + e\right )\right )^{\frac{5}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]